home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The 640 MEG Shareware Studio 2
/
The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO
/
comm
/
scr104a.zip
/
PCBQM4.TEM
< prev
next >
Wrap
Text File
|
1992-01-09
|
3KB
|
154 lines
If $ne("@gateway","")
When "@gateway" "@response"
EndIf
If $ne("%port","@vport")
Set Port=@vport
EndIf
When More? n^M
When more? n^M
When "ore >" n^M
When "no change?" ^M
When raphics "~@ansi^M"
When prompts ~^M
When "to continue" ^M
While not Connected
Dial/@waittime "@numberA" "@numberB" "@numberC" "@numberD"
EndWhile
Wait "first name?"
If $ne("@gateway","")
EndWhen "@gateway"
EndIf
EndWhen "no change?"
EndWhen raphics
EndWhen prompts
When (Enter)=yes? n^M
SendWait "@name @pword^M" "@mmprompt" "nue?"
If Had 2
SendWait ^M "@mmprompt"
EndIf
EndWhen (Enter)=yes?
%ufile := "@packet.FUL"
%handle := fopen %ufile
If %NoError
%handle := fsize %usize
If %usize # 0
SendWait u^M (Enter)=none?
%handle := fread %fname
While NoError
$rchpos %i %fname "\"
If %i # %maxint
Inc %i
$delete %fname 0 %i
EndIf
SendWait "%fname^M" (Enter)=none?
%handle := fread %fname
EndWhile
%handle := fclose
SendWait ^M **B01 "=continue"
If Had 2
SendWait ^M **B01
EndIf
Upload zmodem .%currdir\%ufile
Wait "@mmprompt"
If %NoError
If $eq("@confirm","Y")
Ask "Delete %ufile? (Y/N) " %reply 1 1 Y
$caps %reply
Else
%reply := "Y"
EndIf
If $equal %reply Y
Delete %ufile
EndIf
EndIf
Else
%handle := fclose
Delete %ufile
EndIf
EndIf
%dfile := "@packet.FDL"
%handle := fopen %dfile
If %NoError
%handle := fsize %dsize
If %dsize # 0
SendWait d^M (Enter)=none?
%handle := fread %fname
While %NoError
$rchpos %i %fname "\"
If %i # %maxint
Inc %i
$delete %fname 0 %i
EndIf
SendWait "%fname^M" (Enter)=none?
%handle := fread %fname
EndWhile
%handle := fclose
SendWait ^M **B00 "=continue"
If Had 2
SendWait ^M **B00
EndIf
Download zmodem !
Wait "@mmprompt"
If %NoError
If $eq("@confirm","Y")
Ask "Delete %dfile? (Y/N) " %reply 1 1 Y
$caps %reply
Else
%reply := "Y"
EndIf
If $equal %reply Y
Delete %dfile
EndIf
EndIf
Else
%handle := fclose
Delete %dfile
EndIf
EndIf
SendWait "@qkey prompts^M" <COMMAND>
%ptrname := "%updir\@packet.PTR"
If Exists %ptrname
SendWait r^M "<PTRUP>"
Upload zmodem %ptrname
Wait "<PTRFILE>"
SendWait 2^M "<COMMAND>"
Ask "Delete .PTR file from upload directory? " %reply 1 1 Y
$caps %reply
If $eq(%reply,"Y")
Delete %ptrname
EndIf
EndIf
%repname := "%updir\@packet.REP"
If Exists %repname
SendWait u^M <UPLOAD>
Upload zmodem %repname
Wait <COMMAND>
If %NoError
Delete %repname
EndIf
EndIf
SendWait d^M <DOWNLOAD> <DLASK> "<NO TRANSFER>"
If Had 2
SendWait ~y^M <DOWNLOAD>
EndIf
If Had 1
Download zmodem !
EndIf
SendWait ~g^M <HANGUP> "NO CARRIER" <COMMAND>
If Had 3
SendWait ~g^M <HANGUP> "NO CARRIER"
EndIf
If Had 1
Wait "NO CARRIER"
EndIf
If $ne("%port","%dport")
Set Port=%dport
EndIf